
//复制这个
for(i=0;i<54;i++){
fetch("https://xjbt.gwypx.com.cn/api/study/progress", {
  "headers": {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
    "content-type": "application/json",
    "deviceid": "h5",
    "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Microsoft Edge\";v=\"140\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "tenantid": "001.001.065",
    "token": "be0bf547b6c6a03f2783be02e967231237d10c7056593ca123b1bceb54b1184d17dbc4bcd7c883f014aa1804ec6f8e448920f4ca9366180d6bc3b946b1b06934e57b9f788110cf8864282b85a773d5e4"
  },
  "referrer": "https://xjbt.gwypx.com.cn/h5/pages/course/info?id=3770467963476381003",
  "body": "{\"courseId\":\"3770467963476381003\",\"idCardHash\":\"LB0yWsl5gD2iKtjmBkH3x4TTIfk=\",\"studyTimes\":1120}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
});
}




//查看2025年度已经学习的内容：
fetch("https://xjbt.gwypx.com.cn/api/personal/myCourses", {
  "headers": {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
    "content-type": "application/json",
    "deviceid": "h5",
    "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Microsoft Edge\";v=\"140\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "tenantid": "001.001.065",
    "token": "be0bf547b6c6a03f2783be02e967231237d10c7056593ca123b1bceb54b1184d17dbc4bcd7c883f014aa1804ec6f8e448920f4ca9366180d6bc3b946b1b06934e57b9f788110cf8864282b85a773d5e4"
  },
  "referrer": "https://xjbt.gwypx.com.cn/h5/pages/my/lesson",
  "body": "{\"pagenum\":0,\"pagesize\":10,\"studyStatus\":2,\"studyType\":\"VIDEO\",\"year\":\"2025\",\"isElective\":true,\"idCardHash\":\"LB0yWsl5gD2iKtjmBkH3x4TTIfk=\"}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
}).then(res=>{res.json()}).then((data) => console.log(data));

//查看2025年度准备学习的内容：
fetch("https://xjbt.gwypx.com.cn/api/personal/myCourses", {
  "headers": {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
    "content-type": "application/json",
    "deviceid": "h5",
    "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Microsoft Edge\";v=\"140\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "tenantid": "001.001.065",
    "token": "be0bf547b6c6a03f2783be02e967231237d10c7056593ca123b1bceb54b1184d17dbc4bcd7c883f014aa1804ec6f8e448920f4ca9366180d6bc3b946b1b06934e57b9f788110cf8864282b85a773d5e4"
  },
  "referrer": "https://xjbt.gwypx.com.cn/h5/pages/my/lesson",
  "body": "{\"pagenum\":0,\"pagesize\":10,\"studyStatus\":1,\"studyType\":\"VIDEO\",\"year\":\"2025\",\"isElective\":true,\"idCardHash\":\"LB0yWsl5gD2iKtjmBkH3x4TTIfk=\"}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
}).then(res=>{res.json()}).then((data) => console.log(data));

//开始学习：
fetch("https://xjbt.gwypx.com.cn/api/study/start", {
  "headers": {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
    "content-type": "application/json",
    "deviceid": "h5",
    "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Microsoft Edge\";v=\"140\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "tenantid": "001.001.065",
    "token": "be0bf547b6c6a03f2783be02e967231237d10c7056593ca123b1bceb54b1184d17dbc4bcd7c883f014aa1804ec6f8e448920f4ca9366180d6bc3b946b1b06934e57b9f788110cf8864282b85a773d5e4"
  },
  "referrer": "https://xjbt.gwypx.com.cn/h5/pages/course/info?id=3773781178524383208",
  "body": "{\"courseId\":\"3773781178524369558\",\"idCardHash\":\"LB0yWsl5gD2iKtjmBkH3x4TTIfk=\",\"studyType\":\"VIDEO\"}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
}).then(res=>{res.json()}).then((data) => console.log(data));

//发送进度：
fetch("https://xjbt.gwypx.com.cn/api/study/progress", {
  "headers": {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
    "content-type": "application/json",
    "deviceid": "h5",
    "sec-ch-ua": "\"Chromium\";v=\"140\", \"Not=A?Brand\";v=\"24\", \"Microsoft Edge\";v=\"140\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-origin",
    "tenantid": "001.001.065",
    "token": "be0bf547b6c6a03f2783be02e967231237d10c7056593ca123b1bceb54b1184d17dbc4bcd7c883f014aa1804ec6f8e448920f4ca9366180d6bc3b946b1b06934e57b9f788110cf8864282b85a773d5e4"
  },
  "referrer": "https://xjbt.gwypx.com.cn/h5/pages/course/info?id=3773781178524383208",
  "body": "{\"courseId\":\"9838\",\"idCardHash\":\"LB0yWsl5gD2iKtjmBkH3x4TTIfk=\",\"studyTimes\":1178}",
  "method": "POST",
  "mode": "cors",
  "credentials": "include"
}).then(res=>{res.json()}).then((data) => console.log(data));
